package com.mzd.multipledatasources4.dao;

import com.mzd.multipledatasources4.mapper.TransactionMapping1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.mzd.multipledatasources4.bean.TestBean;

/**
 * @author Administrator
 */
@Component

public class TransactionDao1 {

    @Autowired
    private TransactionMapping1 tm1;

    public boolean save(TestBean t) {
        return tm1.save(t)==1;
    }

}
